package com.example.ssm.service;

import com.example.ssm.entity.Merchant;
import com.example.ssm.entity.UpComing_Shop;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

public interface ShopService {
    public void ToSubmit(UpComing_Shop UpComing_Shop) throws IOException;
    public List<UpComing_Shop> selectShop() throws IOException;
    void insert(UpComing_Shop UpComing_Shop) throws IOException;
    public void del(String shop_name) throws IOException;
    public UpComing_Shop selectByName(UpComing_Shop shop) throws IOException;
    Merchant select(String use_name) throws IOException;
    Merchant selectByShopName(Merchant merchant) throws IOException;
    boolean addMoney(Merchant merchant) throws IOException;


}

